package com.stone.common.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

/**
 * TJbpm entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "SYS_ADVANCE_SEARCH_CONDITION")
public class AdvanceSearchCondition implements java.io.Serializable {

    // Fields
    private Long id;
    
    private Long menuId;
    
    private Long userId;
    
    private String conditionName;
    
	@Id
    @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="SEQ_ADVANCE_SEARCH_CONDITION")
    @SequenceGenerator(name="SEQ_ADVANCE_SEARCH_CONDITION",allocationSize=1, sequenceName="SEQ_SYS")
    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

	@Column(name = "MENU_ID")
	public Long getMenuId() {
		return menuId;
	}

	public void setMenuId(Long menuId) {
		this.menuId = menuId;
	}

	@Column(name = "USER_ID")
	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	@Column(name = "CONDITON_NAME")
	public String getConditionName() {
		return conditionName;
	}

	public void setConditionName(String conditionName) {
		this.conditionName = conditionName;
	}

}